package com.cy.zs.hp.feign.service.impl;

import com.cy.zs.hp.feign.service.IHisRegisterFeignService;
import com.cy.zs.hp.model.HisPatient;
import com.cy.zs.hp.model.HisRegister;
import com.cy.zs.web.util.JsonResult;
import org.springframework.stereotype.Component;
import org.springframework.validation.BindingResult;

import javax.validation.Valid;
import java.util.List;
@Component
public class PatientServiceFB implements IHisRegisterFeignService {

    @Override
    public JsonResult<List<HisRegister>> findByDoctorId(String doctorId, String patientId) {
            return JsonResult.err("查询挂号信息失败");
    }

    @Override
    public JsonResult<List<HisPatient>> doAddPatient(@Valid HisPatient hisPatient) {
        return JsonResult.err("添加候诊者失败！");
    }

    @Override
    public JsonResult doAddRegister(@Valid HisRegister hisRegister) {
        return JsonResult.err("添加候诊者预约表失败！");
    }

}
